package cn.com.nes.site.service.workOrder.dto;

import lombok.Data;

/**
 * 异步派发安装工单返回值
 *
 * @Author: ShenWei
 * @Date: 2024/08/07/14:16
 */
@Data
public class AsyncDistributeWorkOrderInstallDTO {

    public static final Integer RET_CODE_SUCCESS = 0;
    public static final Integer RET_CODE_FAULT = 1;
    public static final String DISTRIBUTE_TYPE_NEW = "distributeTypeNew";
    public static final String DISTRIBUTE_TYPE_OLD = "distributeTypeOld";

    /**
     * 派单情况编码 0-成功 1-失败
     */
    private Integer retCode;

    /**
     * 派单类型 0-派发新工单 1-重新派发拒单工单
     */
    private String distributeType;

    /**
     * 客户id
     */
    private String customerId;

    /**
     * 客户姓名
     */
    private String customerName;

    /**
     * 异常信息
     */
    private String faultMessage;

    /**
     * 系统单id
     */
    private Long priceMasterId;

    /**
     * 工单id
     */
    private Long workOrderId;
}
